//
//  BasicTableViewController.swift
//  MyWeibo
//
//  Created by stone on 15/7/28.
//  Copyright © 2015年 gff. All rights reserved.
//

import UIKit
class BasicTableViewController: UITableViewController {

    var isLogin: Bool = false
    var unLoginVw :unLoginView?
    override func viewDidLoad() {
        super.viewDidLoad()

    }

    override func loadView() {
        isLogin ? super.loadView() : loadViewNotLogin()
    }
    
    func loadViewNotLogin() {
        unLoginVw = unLoginView()
        view = unLoginVw
    }
    
}
